package com.lintf.starter.central.auth.redis;

import com.lintf.starter.central.auth.CustomToken;

/**
 * @author lin tingfeng
 * @ system Mac
 * @ data 2025/6/9 17:06
 * @ package_name com.lintf.starter.central.auth.redis
 * @ project_name my-diy-project
 * @ desc
 */
public interface RedisOperationsAdapter {
    void setToken(String key, CustomToken token, long ttlSeconds);

    CustomToken getToken(String key);

    boolean exists(String key);

    void deleteToken(String key);

}
